package com.example.featuresdk.analytics

import android.util.Log

class AnalyticsDelegate: IAnalyticsDelegate {

    private constructor()

    companion object{
        val instance = AnalyticsDelegate()
        const val TAG = "AnalyticsDelegate"
    }

    override fun trackPage(pageName: String){
        Log.i(TAG,"Page event: $pageName")
        Log.i(TAG,"Build Model: ${android.os.Build.MODEL}")
        Log.i(TAG,"Build Brand: ${android.os.Build.BRAND}")
        Log.i(TAG,"Build Manufacturer: ${android.os.Build.MANUFACTURER}")
        Log.i(TAG,"Build Product: ${android.os.Build.PRODUCT}")
        Log.i(TAG,"Build Hardware: ${android.os.Build.HARDWARE}")
        Log.i(TAG,"Build Fingerprint: ${android.os.Build.FINGERPRINT}")
        Log.i(TAG,"Build Board: ${android.os.Build.BOARD}")
        Log.i(TAG,"Build Display: ${android.os.Build.DISPLAY}")
        Log.i(TAG,"Build ID: ${android.os.Build.ID}")
        Log.i(TAG,"Build HOST: ${android.os.Build.HOST}")
        Log.i(TAG,"Build USER: ${android.os.Build.USER}")
    }

    override fun trackAction(actionName: String){
        Log.i(TAG,"Action event: $actionName")
        Log.i(TAG,"Device Model: ${android.os.Build.MODEL}")
    }
}
